package com.example.kt_base.s1

//TODO 15.Kotlin语言的String模板
fun main() {
    val garden = "黄石公园"
    val time = 6
    println("今天天气晴朗，去${garden}玩，玩了$time 小时")

    val isLogin = true
    println("server response result:${if (isLogin) "恭喜你登录成功" else "登录失败"}")
}